package com.all.devtools;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author LY
 * @create 2024/2/26 17:44
 * @Description 入口
 */
@SpringBootApplication
@RestController
@Slf4j
public class DevtoolsAppliaction {

    public static void main(String[] args) {
        SpringApplication.run(DevtoolsAppliaction.class, args);
    }

    @GetMapping("/getVoid")
    public String getVoid(){
        String param = "hello spring";
        log.info("测试热部署|getVoid|{}", param);
        return param;
    }
}
